﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace hotel_System
{
    [Serializable]
    public class Guest
    {
        /// <summary>
        /// 客人ID
        /// </summary>
        private static int guestId;//客人Id，int类型 
        public int GuestID
        {
            get { return guestId; }
            set { guestId = value; }
        }

        /// <summary>
        /// 客人姓名
        /// </summary>
        private static string guestName;//客人姓名
        public string GuestName
        {
            get { return guestName; }
            set { guestName = value; }
        }

        /// <summary>
        /// 客人类别
        /// </summary>
        private static int guestTypeId;//客人类别
        public int GuestTypeID
        {
            get { return guestTypeId; }
            set { guestTypeId = value; }
        }

        /// <summary>
        /// 客人性别
        /// </summary>
        private static string guestSex;//客人性别
        public string GuestSex
        {
            get { return guestSex; }
            set { guestSex = value; }
        }

        /// <summary>
        /// 电话
        /// </summary>
        private static string guestMobile;//电话
        public string GuestMobile
        {
            get { return guestMobile; }
            set { guestMobile = value; }
        }

        /// <summary>
        /// 房间号
        /// </summary>
        private static int guestRoomId;//房间号,int类型
        public int GuestRoomID
        {
            get { return guestRoomId; }
            set { guestRoomId = value; }
        }

        /// <summary>
        /// 入住时间
        /// </summary>
        private static DateTime guestArriveTime;//入住时间，时间类型
        public DateTime GuestArriveTime
        {
            get { return guestArriveTime; }
            set { guestArriveTime = value; }
        }

        /// <summary>
        /// 离开时间
        /// </summary>
        private static DateTime guestLeaveTime;//离开时间，时间类型
        public DateTime GuestLeaveTime
        {
            get { return guestLeaveTime; }
            set { guestLeaveTime = value; }
        }
    }
}


